// pages/drink/drink.js
Page({

  /**
   * 页面的初始数据
   */
  data: {
    calassList:[
      {
        name:'冷饮',
        term:[
            {
              "image": "../../images/drink-01.png",
              "title": "桃桃瑶瑶奶昔",
              "pickup": true,
              "introduce": "冰淇淋配桃桃，喝前摇一摇",
              "price": "6.00",
              "norms": {
                  "weight": "450g",
              },
              "id":"1"
          },
          {
              "image": "../../images/drink-02.png",
              "title": "柠檬水",
              "pickup": false,
              "introduce": "酸甜开胃大自然的滋味",
              "price": "6.00",
              "norms": {
                  "weight": "500g"
              },
              "id":"2"
          },
          {
              "image": "../../images/drink-03.png",
              "title": "杨枝甘露",
              "pickup": true,
              "introduce": "杯装港式甜品，大块芒果加珍珠",
              "price": "8.00",
              "norms": {
                  "weight": "250g",
                  "prime": "4"
              },
              "id":"3"
          },
          { "image": "../../images/drink-04.png",
              "title": "芝士奶盖红茶",
              "pickup": false,
              "introduce": "棉棉咸芝士,暖暖香红茶",
              "price": "9.70",
              "norms": {
                  "weight": "100g",
                  "prime": "5"
              },
              "id":"4"
          },
    ]
  }
]
  },
  gotoorder(){
    wx.switchTab({
        url: '/pages/order/order'
    });  
}
})